<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8" />
    <title>在平安</title>
    <meta name="description" content="中国平安" />
    <meta name="keywords" content="中国平安" />
    <meta content="width=640, target-densitydpi=320, user-scalable=no" name="viewport" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta content="telephone=no" name="format-detection" />

    <link rel="stylesheet" type="text/css" href="../css/base.css">
    <link rel="stylesheet" type="text/css" href="../css/public.css">
    <script src="../js/zepto.min.js" type="text/javascript"></script>
    <script src="../js/zepto-touch.js" type="text/javascript"></script>

    <script src="../js/mobiscroll/js/mobiscroll.zepto.js" type="text/javascript"></script>
    <script src="../js/mobiscroll/js/mobiscroll.core.js" type="text/javascript"></script>
    <script src="../js/mobiscroll/js/mobiscroll.scroller.js" type="text/javascript"></script>
    <script src="../js/mobiscroll/js/mobiscroll.datetime.js" type="text/javascript"></script>
    <script src="../js/mobiscroll/js/mobiscroll.scroller.ios.js" type="text/javascript"></script>
    <script src="../js/mobiscroll/js/mobiscroll.i18n.zh.js" type="text/javascript"></script>
    <link href="../js/mobiscroll/css/mobiscroll.scroller.css" rel="stylesheet" type="text/css" />
    <link href="../js/mobiscroll/css/mobiscroll.scroller.ios.css" rel="stylesheet" type="text/css" />
    <link href="../js/mobiscroll/css/mobiscroll.animation.css" rel="stylesheet" type="text/css" />

    <script src="../js/public.js" type="text/javascript"></script>

    <script src="../js/common/doT.js" type="text/javascript"></script>
    <script src="../js/common/validate.js" type="text/javascript"></script>
    <script src="../js/kpi/kpi-todo.js" type="text/javascript"></script>
    <script src="../js/iscroll.js" type="text/javascript"></script>

    <style>
        /*
        *@@此样式为页面级，不能放在公共文件中
        */
        #wrap{position: absolute;width: 100%;height: 100%;overflow:hidden;}
        #contentMain{position: absolute;width: 100%;height: 100%;overflow:hidden;}
		#iscroll{position: absolute;width: 100%;height: 100%;overflow:hidden;}
	 
		 
    </style>
</head>

<body>
<div id="wrap">
    <article class="left-side side-catalog" id="leftSide">
        <header class="left-side-header">KPI和关键工作计划列表</header>
        <div id="iscroll">
        <section class="left-side-content" id="leftSideContent"></section>
        </div>
    </article>
    <article class="content-main">
        <header class="top-bar">
            <div class="top-bar-cont">
                <span class="btn-bar-css btn-bar-back btn-bar-left" et="tap:back"><i></i></span>
                <h1 et="tap:show">我的<span id="month">03</span>月汇报<i class="h1-icon data-icon"></i></h1>
                <input type="hidden" id="bdate" et="change:change"/>
                <span class="btn-bar-txt btn-txt-state btn-bar-right"><i id="statusNode">未提交</i></span>
            </div>
        </header>
        <div class="loading-mask g-mask" id="loading" style="display: none;">
    		<div class="loading-mask-img"><img src="../images/loading.gif" width="70" height="70"></div>
    	</div>
        <section id="contentMain">
            <div>
                <div style="height: 70px; text-align: center; line-height: 70px; font-size: 23px;">下拉查看上一条</div>
                <div id="content"><div id="TowdoneText"  style="display: none;"></div></div>
                <div style="height: 210px; text-align: center; line-height: 70px; font-size: 23px;">上拉查看下一条</div>
            </div>
        </section>
        <footer class="footer-fixed">
            <div class="footer-fixed-cont">
                <div class="footer-fixed-bg"></div>
                <div class="footer-btn">
                    <div id="Ok" et="tap:save" class="btn-css btn-bg-72cb09">保存</div>
                    <div id="NoOk" style="display: none; background-color: grey;" class="btn-css btn-bg-72cb09">保存</div>
                    <div id="pf" et="tap:toScore" class="btn-css m-l44">评分</div>
                    <div id="Nopf" style="display: none; background-color: gray" class="btn-css m-l44">评分</div>
                </div>
            </div>
        </footer>
    </article>
</div>
<!-- 错误信息层 -->
<div class="g-mask" id="errorMask">
	<div class="g-mask-bg" id="errorBtncancel"></div>
		<div class="g-mask-layout">
            <article class="g-mask-content">
                <section class="g-mask-cont">
                    <p id="message"></p>
                </section>
            </article>
        </div>
</div>
<!-- 删除关键计划 -->
<div class="g-mask" id="GlobalMask">
    <div class="g-mask-bg"></div>
    <div class="g-mask-layout">
        <article class="g-mask-content">        
            <section class="g-mask-cont">
                <p>删除新增关键工作计划</p>
                <p id="titile"></p>
                <input type="hidden" id="report"/>
                <input type="hidden" id="ewnlist"/>
            </section>
            <footer class="g-mask-cont-btn">
            	<div class="btn-css btn-right fn-c-157efb" id="ewnDelete">删除</div>
                <div class="btn-css btn-left fn-c-999" id="ewnCancel">取消</div>
            </footer>
        </article>
    </div>
</div>
<script type="template" id="kpi-edit-tpl">
    <input type="hidden" param-name="SECTION_ID" value="{{=it.section_id}}"/>
    <input type="hidden" param-name="EP_APPRAISAL_ID"/>
    <input type="hidden" param-name="MONTH_EP"/>
    <input type="hidden" param-name="YEAR_EP"/>
	<input type="hidden" param-name="xh" value="{{=it.xh}}"/>
    <div class="kpi-module">
        <h2 class="kpi-h2 row-webkit-box h2-icon">
            <div class="row-left-icon"><i et="tap:toggleLeftSide"></i></div>
            <div class="info-list-cont">KPI</div>
        </h2>
        <div class="kpi-mian">
            <h3 class="kpi-title">
                <div class="row-left-icon"><i>{{=it.index}}</i></div>
                <div class="info-list-cont" param-name="CONTENT_DESCR">{{=it.content_descr}}</div>
            </h3>
            <div class="kpi-content row-info edit-row">
                <ul class="row-info-list">
                    <li>
                        <div class="info-list-name">预期目标：</div>
                        <div class="info-list-cont" param-name="PAIC_CUR_TRGT">{{=it.paic_cur_trgt}}</div>
                    </li>
                    <li class="edit-row-cont">
                        <div class="click-cont-area">
                            <div class="info-list-name">本月完成：</div>
                            <div id="doneText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_ACCMP_STA">{{=it.paic_accmp_sta.replace(/\n/g,"<br>")}}</div>
                        </div>
                        <div class="edit-cont-area">
                            <textarea et="keyup:refreshEdit" id="benyue" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</script>

<script type="template" id="ew-edit-tpl">
    <input type="hidden" param-name="SECTION_ID" value="{{=it.ew_section_id}}"/>
    <input type="hidden" param-name="EP_APPRAISAL_ID" />
    <input type="hidden" param-name="MONTH_EP"/>
    <input type="hidden" param-name="YEAR_EP"/>
    <input type="hidden" param-name="PAIC_EP_RESERVED3" value="{{=it.ew_sum}}"/>
    <input type="hidden" param-name="PAIC_EXPECTATION" value="{{=it.paic_expectation}}"/>
	<input type="hidden" param-name="xh" value="{{=it.xh}}"/>
    <div class="kpi-module">
        <h2 class="kpi-h2 row-webkit-box h2-icon icon-click">
            <div class="row-left-icon"><i et="tap:toggleLeftSide"></i></div>
            <div class="info-list-cont">关键工作计划</div>
            <div class="info-list-icon add-icon" et="tap:addKeywork"></div>
        </h2>
        <div class="kpi-main">
            <h3 class="kpi-title" id="J-LookTitle">
                <div class="row-left-icon"><i>{{=it.index}}</i></div>
                <div class="info-list-cont" param-name="CONTENT_DESCR">{{=it.ew_descr}}</div>
            </h3>
            <div class="kpi-content row-info edit-row">
                <ul class="row-info-list" id="J-EditContent">
                    {{?it.ew_up_nco}}
                    <li>
                        <div class="info-list-name">上月安排：</div>
                        <div class="info-list-cont" param-name="up_nco">{{=it.ew_up_nco}}</div>
                    </li>
                    {{?}}
                    <li class="edit-row-cont">
                        <div class="click-cont-area">
                            <div class="info-list-name">实际完成：</div>
                            <div id="doneText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED1">{{=it.ew_rea.replace(/\n/g,"<br>")}}</div>
                        </div>
                        <div class="edit-cont-area">
                            <textarea et="keyup:refreshEdit" id="benyue" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                        </div>
                    </li>
                    <li id="nMonthDiv" class="edit-row-cont" {{?it.ew_status=='CO'}} style="display: none;"{{?}}>
                    <div class="click-cont-area">
                        <div class="info-list-name">下月行动：</div>
                        <div id="nMontText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED2">{{=it.ew_nco.replace(/\n/g,"<br>")}}</div>
                    </div>
                    <div class="edit-cont-area">
                        <textarea et="keyup:refreshEdit" id="xiayue" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                    </div>
                    </li>
                    <li id="sumDiv" class="edit-row-cont" {{?it.ew_status=='IP'}} style="display: none;"{{?}}>
                    <div class="click-cont-area">
                        <div class="info-list-name">阶段汇总：</div>
                        <div id="sumText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED3">{{=it.ew_sum.replace(/\n/g,"<br>")}}</div>
                    </div>
                    <div class="edit-cont-area">
                        <textarea et="keyup:refreshEdit" id="jieduan" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                    </div>
                    </li>
                    <li class="col-multi">
                        <div class="row-webkit-box col-multi-1">
                            <div class="info-list-name">完成情况：</div>
                            <div class="info-list-cont">
                                <select class="select-css" param-name="EP_TRK_STATUS" et="change:changeStatus">
                                    <option value="IP" {{?it.ew_status=='IP'}}selected="selected"{{?}}>正在进行</option>
                                    <option value="CO" {{?it.ew_status=='CO'}}selected="selected"{{?}}>已经完成</option>
                                </select>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</script>

<script type="template" id="ewg-edit-tpl">
    <input type="hidden" param-name="SECTION_ID" value="{{=it.ewg_section_id}}"/>
    <input type="hidden" param-name="EVA_WEIGHT" value="{{=it.ewg_weight}}"/>
    <input type="hidden" param-name="EP_APPRAISAL_ID"/>
    <input type="hidden" param-name="MONTH_EP"/>
    <input type="hidden" param-name="YEAR_EP"/>
    <input type="hidden" param-name="PAIC_EP_RESERVED3" value="{{=it.ewg_sum}}"/>
    <input type="hidden" param-name="PAIC_EXPECTATION" value="{{=it.paic_expectation}}"/>
	<input type="hidden" param-name="xh" value="{{=it.xh}}"/>
    <div class="kpi-module">
        <h2 class="kpi-h2 row-webkit-box h2-icon icon-click">
            <div class="row-left-icon"><i et="tap:toggleLeftSide"></i></div>
            <div class="info-list-cont">关键工作计划</div>
            <div class="info-list-icon add-icon" et="tap:addKeywork"></div>
        </h2>
        <div class="kpi-main">
            <h3 class="kpi-title" id="J-LookTitle">
                <div class="row-left-icon"><i>{{=it.index}}</i></div>
                <div class="info-list-cont" param-name="CONTENT_DESCR">{{=it.ewg_descr}}</div>
            </h3>
            <div class="kpi-content row-info edit-row">
                <ul class="row-info-list" id="J-EditContent">
                    {{?it.ewg_up_nco}}
                    <li>
                        <div class="info-list-name">上月安排：</div>
                        <div class="info-list-cont" param-name="up_nco">{{=it.ewg_up_nco}}</div>
                    </li>
                    {{?}}
                    <li class="edit-row-cont">
                        <div class="click-cont-area">
                            <div class="info-list-name">实际完成：</div>
                            <div id="doneText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED1">{{=it.ewg_rea.replace(/\n/g,"<br>")}}</div>
                        </div>
                        <div class="edit-cont-area">
                            <textarea et="keyup:refreshEdit" id="benyue" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                        </div>
                    </li>
                    <li id="nMonthDiv" class="edit-row-cont" {{?it.ewg_status=='CO'}} style="display: none;"{{?}}>
                    <div class="click-cont-area">
                        <div class="info-list-name">下月行动：</div>
                        <div id="nMontText" class="info-list-cont" id="Xiayue" et="tap:handleEdit" param-name="PAIC_EP_RESERVED2">{{=it.ewg_nco.replace(/\n/g,"<br>")}}</div>
                    </div>
                    <div class="edit-cont-area">
                        <textarea et="keyup:refreshEdit" id="xiayue	" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                    </div>
                    </li>
                    <li id="sumDiv" class="edit-row-cont" {{?it.ewg_status=='IP'}} style="display: none;"{{?}}>
                    <div class="click-cont-area">
                        <div class="info-list-name">阶段汇总：</div>
                        <div id="sumText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED3">{{=it.ewg_sum.replace(/\n/g,"<br>")}}</div>
                    </div>
                    <div class="edit-cont-area">
                        <textarea et="keyup:refreshEdit" id="jieduan" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                    </div>
                    </li>
                    <li class="col-multi">
                        <div class="row-webkit-box col-multi-1">
                            <div class="info-list-name">完成情况：</div>
                            <div class="info-list-cont" id="select_a">
                                <select class="select-css" param-name="EP_TRK_STATUS" et="change:changeStatus">
                                    <option value="IP" {{?it.ewg_status=='IP'}}selected="selected"{{?}}>正在进行</option>
                                    <option value="CO" {{?it.ewg_status=='CO'}}selected="selected"{{?}}>已经完成</option>
                                </select>
                            </div>
                        </div>
                        <div class="row-webkit-box col-multi-2" id="ldpf">
                            <div class="info-list-name">评分：</div>
                            <div class="info-list-cont">
                                <input id="scoreText" type="text" class="ipt" placeholder="0-100" onkeyup="countSum()" param-name="PAIC_SELF_RATING" value="{{=it.ewg_self_rating}}">
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</script>

<script type="template" id="ewg1-edit-tpl">
    <input type="hidden" param-name="SECTION_ID" value="{{=it.ewg_section_id}}"/>
    <input type="hidden" param-name="EVA_WEIGHT" value="{{=it.ewg_weight}}"/>
    <input type="hidden" param-name="EP_APPRAISAL_ID"/>
    <input type="hidden" param-name="MONTH_EP"/>
    <input type="hidden" param-name="YEAR_EP"/>
	<input type="hidden" id="status" value="{{=it.ewg_status}}"/>
	<input type="hidden" id="app" value="{{=it.ewg_status_app}}"/>
    <input type="hidden" param-name="PAIC_EP_RESERVED3" value="{{=it.ewg_sum}}"/>
    <input type="hidden" param-name="PAIC_EXPECTATION" value="{{=it.paic_expectation}}"/>
	<input type="hidden" param-name="xh" value="{{=it.xh}}"/>
    <div class="kpi-module">
        <h2 class="kpi-h2 row-webkit-box h2-icon icon-click">
            <div class="row-left-icon"><i et="tap:toggleLeftSide"></i></div>
            <div class="info-list-cont">关键工作计划</div>
            <div class="info-list-icon add-icon" et="tap:addKeywork"></div>
        </h2>
        <div class="kpi-main">
            <h3 class="kpi-title" id="J-LookTitle">
                <div class="row-left-icon"><i>{{=it.index}}</i></div>
                <div class="info-list-cont" param-name="CONTENT_DESCR">{{=it.ewg_descr}}</div>
            </h3>
            <div class="kpi-content row-info edit-row">
                <ul class="row-info-list" id="J-EditContent">
                    {{?it.ewg_up_nco}}
                    <li>
                        <div class="info-list-name">上月安排：</div>
                        <div class="info-list-cont" param-name="up_nco">{{=it.ewg_up_nco}}</div>
                    </li>
                    {{?}}
                    <li class="edit-row-cont">
                        <div class="click-cont-area">
                            <div class="info-list-name">实际完成：</div>
                            <div id="doneText" class="info-list-cont" param-name="PAIC_EP_RESERVED1">{{=it.ewg_rea.replace(/\n/g,"<br>")}}</div>
                        </div>
                    </li>
                    <li id="nMonthDiv" class="edit-row-cont" {{?it.ewg_status=='CO'}} style="display: none;"{{?}}>
                    <div class="click-cont-area">
                        <div class="info-list-name">下月行动：</div>
                        <div id="nMontText" class="info-list-cont" id="Xiayue" param-name="PAIC_EP_RESERVED2">{{=it.ewg_nco.replace(/\n/g,"<br>")}}</div>
                    </div>
                    </li>
                    <li id="sumDiv" class="edit-row-cont" {{?it.ewg_status=='IP'}} style="display: none;"{{?}}>
                    <div class="click-cont-area">
                        <div class="info-list-name">阶段汇总：</div>
                        <div id="sumText" class="info-list-cont" param-name="PAIC_EP_RESERVED3">{{=it.ewg_sum.replace(/\n/g,"<br>")}}</div>
                    </div>
                    </li>
                    <li class="col-multi">
                        <div class="row-webkit-box col-multi-1">
                            <div class="info-list-name">完成情况：</div>
                            <div class="info-list-cont"  param-name="EP_TRK_STATUS" >
								已经完成
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</script>

<script type="template" id="ewn-new-tpl">
    <input type="hidden" param-name="SECTION_ID" value="{{=it.ewn_section_id}}"/>
    <input type="hidden" param-name="EP_APPRAISAL_ID" />
    <input type="hidden" param-name="MONTH_EP"/>
    <input type="hidden" param-name="YEAR_EP"/>
	<input type="hidden" param-name="xh" value="{{=it.xh}}"/>
    {{? it.isCreate}}
    <input type="hidden" param-name="FLAG7" value="01"/>
    <input type="hidden" param-name="PAIC_EP_RESERVED3" value=""/>
    <input type="hidden" param-name="PAIC_EXPECTATION" value=""/>
    {{??}}
    <input type="hidden" param-name="CONTENT_DESCR" value="{{=it.ewn_descr}}"/>
    <input type="hidden" param-name="FLAG7" value="00"/>
    <input type="hidden" param-name="PAIC_EP_RESERVED3" value="{{=it.ewn_sum}}"/>
    <input type="hidden" param-name="PAIC_EXPECTATION" value="{{=it.paic_expectation}}"/>
    {{?}}
    <div class="kpi-module">
        <h2 class="kpi-h2 row-webkit-box h2-icon icon-click">
            <div class="row-left-icon"><i et="tap:toggleLeftSide"></i></div>
            <div class="info-list-cont">关键工作计划</div>
            <div class="info-list-icon add-icon" et="tap:addKeywork"></div>
        </h2>
        <div class="kpi-main">
            <h3 class="kpi-title kpi-title-edit edit-enable" id="J-LookTitle">
                <div class="row-left-icon"><i>{{=it.index}}</i></div>
                <!--<div class="info-list-cont" param-name="CONTENT_DESCR">{{=it.ewn_descr}}</div>-->
                <div class="info-list-cont" {{? !it.isCreate}}param-name="CONTENT_DESCR"{{?}}>
                {{? it.isCreate}}
                <textarea class="textarea-css" placeholder="请填写标题" id="titleText" param-name="CONTENT_DESCR">{{=it.ewn_descr.replace(/\n/g,"<br>")}}</textarea>
                {{??}}
                {{=it.ewn_descr}}
                {{?}}
        </div>
        </h3>
        <div class="kpi-content row-info edit-row">
            <ul class="row-info-list" id="J-EditContent">
                {{?it.ewn_up_nco}}
                <li>
                    <div class="info-list-name">上月安排：</div>
                    <div class="info-list-cont" param-name="up_nco">{{=it.ewn_up_nco}}</div>
                </li>
                {{?}}
                <li class="edit-row-cont">
                    <div class="click-cont-area">
                        <div class="info-list-name">实际完成：</div>
                        <div id="doneText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED1" >{{=it.ewn_rea.replace(/\n/g,"<br>")}}</div>
                    </div>
                    <div class="edit-cont-area">
                        <textarea et="keyup:refreshEdit" id="benyue" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                    </div>
                </li>
                <li id="nMonthDiv" class="edit-row-cont" {{?it.ewn_status=='CO'}} style="display: none;"{{?}}>
                <div class="click-cont-area">
                    <div class="info-list-name">下月行动：</div>
                    <div id="nMontText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED2">{{=it.ewn_nco.replace(/\n/g,"<br>")}}</div>
                </div>
                <div class="edit-cont-area">
                    <textarea et="keyup:refreshEdit" id="xiayue" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                </div>
                </li>
                <li id="sumDiv" class="edit-row-cont" {{?it.ewn_status=='IP'}} style="display: none;"{{?}}>
                <div class="click-cont-area">
                    <div class="info-list-name">阶段汇总：</div>
                    <div id="sumText" class="info-list-cont" et="tap:handleEdit" param-name="PAIC_EP_RESERVED3">{{=it.ewn_sum.replace(/\n/g,"<br>")}}</div>
                </div>
                <div class="edit-cont-area">
                    <textarea et="keyup:refreshEdit" id="jieduan" class="textarea-css" placeholder="请输入" style="background-color:#ccc;"></textarea>
                </div>
                </li>
                <li class="col-multi">
                    <div class="row-webkit-box col-multi-1">
                        <div class="info-list-name">完成情况：</div>
                        <div class="info-list-cont">
                            <select class="select-css" param-name="EP_TRK_STATUS" et="change:changeStatus">
                                <option value="IP" {{?it.ewn_status=='IP'}}selected="selected"{{?}}>正在进行</option>
                                <option value="CO" {{?it.ewn_status=='CO'}}selected="selected"{{?}}>已经完成</option>
                            </select>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
		<div class="row-btn row-btn-del">
			<div class="row-btn-txt" et="tap:delEwn">删除本条关键工作计划</div>
		</div>
    </div>
    </div>
</script>

<script type="template" id="left-side-tpl">
    <dl class="catalog-content">
        <dt>KPI</dt>
        <dd class="side-content-cont row-info single-row">
            <ul class="row-info-list icon-click" id="kpiList">
                {{~it.kpi : val : index}}
                <li >
					<div class="row-webkit-box" data-index="{{=index}}" list-index="{{=index}}" kpi-type="kpi" et="tap:renderSingleItem">
                    	<div class="row-left-icon"><i>{{=index+1}}</i></div>
                    	<div class="info-list-cont">{{=val.content_descr}}</div>
                    	<div class="info-list-icon next-icon"></div>
					</div>
                </li>
                {{~}}
            </ul>
        </dd>
    </dl>
    <dl class="catalog-content">
        <dt>关键工作计划</dt>
        <dd class="side-content-cont row-info single-row">
            <ul class="row-info-list icon-click" id="keyworkList">
                {{~it.ew : val : index}}
                <li >
                    <div class="row-webkit-box" data-index="{{=index}}" list-index="{{=index+it.kpi.length}}" kpi-type="ew" et="tap:renderSingleItem">
						<div class="row-left-icon"><i>{{=index+1}}</i></div>
                    	<div class="info-list-cont">{{=val.ew_descr}}</div>
                    	<div class="info-list-icon next-icon"></div>
					</div>
                </li>
                {{~}}
                {{~it.ewg : val : index}}
                <li>
                    <div class="row-webkit-box"  data-index="{{=index}}" list-index="{{=index+it.kpi.length+it.ew.length}}" kpi-type="ewg" et="tap:renderSingleItem">
						<div class="row-left-icon"><i>{{=it.ew.length+index+1}}</i></div>
                    	<div class="info-list-cont">{{=val.ewg_descr}}</div>
                    	<div class="info-list-icon next-icon"></div>
					</div>
                </li>
                {{~}}
                {{~it.ewn : val : index}}
                <li >
                    <div class="row-webkit-box" data-index="{{=index}}" list-index="{{=index+it.kpi.length+it.ewg.length+it.ew.length}}" kpi-type="ewn" et="tap:renderSingleItem">
						<div class="row-left-icon"><i>{{=it.ew.length+it.ewg.length+index+1}}</i></div>
                    	<div class="info-list-cont">{{=val.ewn_descr}}</div>
                    	<div class="info-list-icon next-icon"></div>
					</div>
                </li>
                {{~}}
                <li>
                    <div class="row-webkit-box" et="tap:addKeywork" id="createKeywork">
						<div class="row-left-icon add-icon"></div>
                    	<div class="info-list-cont">新增关键工作计划</div>
                    	<div class="info-list-icon next-icon"></div>
					</div>
                </li>
            </ul>
        </dd>
    </dl>
</script>

<script type="template" id="create-item-tpl">
    <li >
        <div class="row-webkit-box" data-index="{#dataIndex#}" list-index="{#listIndex#}" kpi-type="ewn" et="tap:renderSingleItem">
			<div class="row-left-icon"><i>{#kwListIndex#}</i></div>
        	<div class="info-list-cont">新增关键工作计划</div>
        	<div class="info-list-icon next-icon"></div>
		</div>
    </li>
</script>

<script>
    init();
</script>

</body>
</html>
